aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/index.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routes/[username]/index.js b/src/routes/[username]/index.js
index 5229cc50..5de1316f 100644
--- a/src/routes/[username]/index.js
+++ b/src/routes/[username]/index.js
@@ -4,11 +4,11 @@ export async function GET({ params }) {
let { username } = params;
let body;
- try {
- body = await get(`/users/${username}`);
- } catch(e) {
- body = {};
- }
+ try {
+ body = await get(`/users/${username}`);
+ } catch (e) {
+ body = {};
+ }
return { body };
}